Skip to content

Delete a credential

Request

Deletes a credential of the caller's organization. Its client ID and secret can no longer get access tokens. Access tokens already issued with it keep working until they expire, at most 24 hours later. A credential cannot delete itself: a call with the token of the credential it deletes gets 409 with error code CANNOT_DELETE_OWN_CREDENTIAL, so a credential token never deletes the organization's last credential; a console user can. A call with the token of a credential that no longer exists gets 403 with error code CALLER_CREDENTIAL_NOT_FOUND. Returns 404 when the organization has no credential with this client ID, and 502 when the deletion failed or could not be confirmed; retry the call.

Security
oauth2(Required scopes: credentials:manage)
Path
clientIdstringrequired
curl -i -X DELETE \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/credentials/{clientId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

No Content

Response
No content